import http from '../http'
export default {
    //banner首页轮播
    getBannerList(params, callback) {
        http.get('index/getBannerList', { params }, callback);
    },
    //banner首页轮播图详情
    getBannerDeatils(params, callback) {
        http.get('index/getBannerById', { params }, callback);
    },
    //首页新闻列表
    getNewsList(params, callback) {
        http.get('index/getNewsList', { params }, callback);
    },
    // x新闻列表详情
    getArticleById(params, callback) {
        http.get('community/getArticleById', { params }, callback);
    },
    // 文章收藏
    collectArticle(params, callback) {
        http.get('user/collectArticle', { params }, callback);
    },

    getSignature(params, callback) {
        http.get('wshare/getSignature', { params }, callback);
    },
    register(params, callback) {
        http.get('user/register', { params }, callback);
    },


}